﻿// --------------------------------------------------------------------------------------------------------------------
// <copyright file="IAdapterFactory.cs" company="">
//   
// </copyright>
// <summary>
//   The AdapterFactory interface.
// </summary>
// --------------------------------------------------------------------------------------------------------------------

namespace Libium.Adapters
{
    using System;

    /// <summary>
    ///   The AdapterFactory interface.
    /// </summary>
    public interface IAdapterFactory
    {
        #region Public Properties

        /// <summary>
        ///   Gets the type 1.
        /// </summary>
        Type Type1 { get; }

        /// <summary>
        ///   Gets the type 2.
        /// </summary>
        Type Type2 { get; }

        #endregion

        #region Public Methods and Operators

        /// <summary>
        /// The create adapter.
        /// </summary>
        /// <param name="obj">
        /// The obj. 
        /// </param>
        /// <returns>
        /// The <see cref="object"/> . 
        /// </returns>
        object CreateAdapter(object obj);

        #endregion
    }
}